package org.lc.cmd.impl.bridge;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class PollModel {
    public PollModel(PollType type, String data) {
        this.type = type;
        this.data = data;
    }

    public enum PollType {
        READ_LINE, WRITE, CLOSE_CLIENT
    }

    private PollType type;

    private String data;

    private String id;
}
